#include "head.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
void od(char a[1000],int len)
{
int i,j=0,line=0;
printf("%06x",line);
printf("%4c",a[0]);
for(i=2;i<len+2;i++)
{
 if(a[i-1]=='\n')
 {
  printf("  \\n");
  continue;
  }
 printf("%4c",a[i-1]);
 if((i%16==0)||(a[i-1]=='\0'))
 { 
 printf("\n      ");
 for(j;j<=(i-1);j++)
 printf("  %02x",a[j]);
 line=line+32; 
 printf("\n%06x",line);
 }
}
printf("\n"); 
}
